<?php
$this->headTitle($this->translator('user_activate_title'));
?>

<div class="t_bizprofile_register">
    <h2><?php echo $this->translator('user_activate_title'); ?></h2>
    <!--<div class="message"></div>-->
    <?php if($this->flag == 'is_activate'):?>
        <?php $loginUrl = $this->serverUrl().$this->url(array(), 'bizprofile_auth_login');?>
        <?php echo sprintf($this->translator('user_is_activate'), $loginUrl);?>
    <?php elseif($this->flag == 'invalid'):?>
        <?php $regUrl = $this->serverUrl().$this->url(array(), 'bizprofile_user_register');?>
        <?php echo sprintf($this->translator('user_activate_link_not_exist'), $regUrl);?>
    <?php elseif($this->flag == 'expired'):?>
        <?php echo $this->translator('user_activate_link_expired');?>
    <?php else:?>
        <?php $loginUrl = $this->serverUrl().$this->url(array(), 'bizprofile_auth_login');?>
        <?php echo sprintf($this->translator('user_activate_done'), $loginUrl);?>
    <?php endif;?>
</div>

<script type="text/javascript">
$(document).ready(function() {
});
</script>
